package SoftwareConfiguration;

import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.wb.swt.SWTResourceManager;

public class SoftwareConfiguration_2_InHSConfiguration extends Composite {

	/**
	 * Create the composite.
	 * @param parent
	 * @param style
	 */
	public SoftwareConfiguration_2_InHSConfiguration(Composite parent, int style) {
		super(parent, style);
		setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Label lblNewLabel = new Label(this, SWT.NONE);
		lblNewLabel.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblNewLabel.setBounds(89, 23, 227, 27);
		lblNewLabel.setText("软件配置(任务分配)：");
		lblNewLabel.setFont(new Font(getDisplay(), "宋体",18,SWT.RIGHT));
		
		Label label = new Label(this, SWT.NONE);
		label.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label.setText("请导入设备分配的配置文件：");
		label.setBounds(89, 59, 227, 17);
		
		Label label_1 = new Label(this, SWT.NONE);
		label_1.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		label_1.setText("导入手工配置文件：");
		label_1.setBounds(89, 82, 227, 17);
		
		
		Button btnRadioButton = new Button(this, SWT.RADIO);
		btnRadioButton.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
			}
		});
		btnRadioButton.setBounds(219, 129, 190, 17);
		btnRadioButton.setText("方式一：导入手工配置文件");
		btnRadioButton.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Button button_2 = new Button(this, SWT.RADIO);
		button_2.setText("方式二：图形界面手工进行配置");
		button_2.setBounds(219, 158, 205, 17);
		button_2.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		
		Button btnNewButton = new Button(this, SWT.NONE);
		btnNewButton.setBounds(160, 218, 97, 41);
		btnNewButton.setText("确认");
		
		Button btnNewButton_1 = new Button(this, SWT.NONE);
		btnNewButton_1.setBounds(312, 218, 97, 41);
		btnNewButton_1.setText("取消");

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

}
